package Tests;
//import static org.junit.Assert.*;



import org.junit.Test;

import pagelib.*;


//import com.thoughtworks.selenium.*;
public class facebooktest {
 //static Selenium selenium=new DefaultSelenium("localhost",4444,"*firefox","http://www.facebook.com");
	Page p=new Page();
	 HomePage hp=new HomePage();
	 Fb1login login=new Fb1login();
 @Test
   public void testFacebooklogin() throws InterruptedException  {
 /* selenium.start();
  selenium.open("/");
  selenium.windowMaximize();
  selenium.type("email", "sgadireddy19@gmail.com");
  selenium.type("pass", "xyz_123");
  selenium.click("//label[@id='loginbutton']/input");
  selenium.waitForPageToLoad("30000");
  selenium.click("q");
  selenium.type("q","sirisha");
  selenium.click("//button[@type='submit']");
  //selenium.waitForPageToLoad("30000");
  Thread.sleep(3000);
  selenium.click("//a[contains(text(),'Sirisha Reddy')]");
  selenium.click("//div[1]/label/input");*/
	 
	 login.login("sravanthi.manepalli@gmail.com", "xyz_123");
	 
	 hp.search("yaswanth puvvada");
 }

}
